package com.mxfcode.back.service;

import com.mxfcode.bbs_common.response.PageDataResult;
import com.mxfcode.entity.BBSAnswerQuestions;

import java.util.Map;

/**
 * @author moxiufeng
 * @date 2021/4/22 22:05
 */
public interface BackAnswerQuestionsService {
    PageDataResult getAnswerQuestionsList(Integer pageNum, Integer pageSize);

    Map<String, Object> addAnswerQuestions(BBSAnswerQuestions answerQuestions);

    Map<String, Object> updateAnswerQuestions(BBSAnswerQuestions answerQuestions);

    Map<String, Object> del(String id);

    BBSAnswerQuestions getAnswerQuestionsById(int id);
}
